package com.woniuxy.dao;

import java.util.List;

import com.woniuxy.entity.Orders;
import com.woniuxy.entity.User;

public interface OrdersDao {
//增加订单
	public int addOrder(Orders order) ;

	public void updateStatus(int id, String status);

	public Orders getOrderById(int id);

	public int getstusNum(long id, String status1, String status2);

	public List<User> getStus(long id, String status1, String status2, int page, int pagesize);

	public int getOrdersNumByCid(long id);

	public List<Orders> getOrdersByCidByPage(long id, int i, int pagesize);

	public String getOrderStatus(long orderId);

	public int getOrdersNumBySid(long id);

	public List<Orders> getOrdersBySidByPage(long id, int i, int pagesize);

	public int getNumByUserIdAndStatus(long id,String status);

	public Orders getOrdersByOid(long oid);

	public void releaseCourse(long chooseId);

	public int addGymOrder(Orders order);


}
